const app = getApp()

Page({
  data: {
    html: "加载中...",
    id: 0,
  },

  onLoad: function (options) {

    this.setData({
      nbTitle: '创新者',
      nbLoading: true,
      nbFrontColor: '#ffffff',
      nbBackgroundColor: '#000000',
    })

    console.log(options.a)
    this.setData({
      id: parseInt(options.a),
    })

    var that = this
    wx.request({
   
      url: 'https://chen_we.gitee.io/richtext/' + that.data.id + '.html?'+Date.now(),
      success: function (res) {
        console.log(that.data.id)
        that.setData({
          html: res.data
        })
      }
    })
  },





})